package com.waste.game.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.waste.game.entity.entitiytv.VideoUserBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Transactional;

@Transactional(rollbackFor = RuntimeException.class)
public interface VideoUserDao extends BaseMapper<VideoUserDao> {
    //用户注册
//    int addUser(VideoUserBean videoUserBean);
    //普通用户登录验证
    VideoUserBean getUser(@Param("v") String userName);
    //根据获取用户信息
    VideoUserBean getUserId(@Param("id") String id);
}
